#include <csignal>
#include <filesystem>

#include <QCommandLineParser>
#include <QDebug>
#include <QGuiApplication>
#include <QProcess>

#include "RDPTester.h"

int main(int argc, char **argv)
{
    QGuiApplication application{argc, argv};
    application.setApplicationName(QStringLiteral("kylinrdp-server"));
    application.setApplicationDisplayName(QStringLiteral("kylinrdp Example Server"));
    
    signal(SIGINT, [](int) {
        QCoreApplication::exit(0);
    });
    KRdp::RDPTester rdptester;
    rdptester.init();

    auto result = application.exec();
    return result;
}
